﻿using System.ComponentModel;

namespace QuickRunCore.Models
{
    public class ConfigModel
    {
        /// <summary>
        /// 窗体上坐标
        /// </summary> 
        [DefaultValue(0)]
        public int FormTop { get; set; }

        /// <summary>
        /// 窗体左坐标
        /// </summary>
        [DefaultValue(0)]
        public int FormLeft { get; set; }

        /// <summary>
        /// 窗体宽度
        /// </summary>
        [DefaultValue(640)]
        public int FormWidth { get; set; }

        /// <summary>
        /// 窗体高度
        /// </summary>
        [DefaultValue(440)]
        public int FormHeight { get; set; }

        /// <summary>
        /// 左侧分组宽度
        /// </summary>
        [DefaultValue(130)]
        public int GroupWidth { get; set; }

        /// <summary>
        /// 皮肤名称
        /// </summary>
        [DefaultValue("Defult")]
        public string SkinName { get; set; }

        /// <summary>
        /// 开机自动启动
        /// </summary>
        [DefaultValue(true)]
        public bool AutoRun { get; set; }

        /// <summary>
        /// 鼠标中键启动
        /// </summary>
        [DefaultValue(true)]
        public bool MouseMiddleOpen { get; set; }

        /// <summary>
        /// 跟随鼠标位置启动
        /// </summary>
        [DefaultValue(true)]
        public bool OpenOnMouseXY { get; set; }

        /// <summary>
        /// 键盘热键启动
        /// </summary>
        [DefaultValue(true)]
        public bool HotKeyOpen { get; set; }

        /// <summary>
        /// 键盘热键
        /// </summary>
        [DefaultValue("")]
        public string HotKey { get; set; }

        /// <summary>
        /// 是否开机自动启动
        /// </summary>
        [DefaultValue(true)]
        public bool IsAutoRun { get; set; }
    }
}
